var base64Str="emhhbmdzYW46MTIzNDU2";
var buf1=Buffer.from(base64Str,"base64");
var str=buf1.toString("utf-8");
var arr=str.split(" ");
var userInfor={"用户名":arr[1],"密码":arr[3]};
console.log(userInfor);